package personal.exception;

public class UnauthorizedAccessException extends RuntimeException {
	private static final long serialVersionUID = 1L;
	
	public UnauthorizedAccessException(String code, String service) {
		super("Unauthorized access attempted on service " + service + " with code " + code);
	}

	public UnauthorizedAccessException(String code, String service, String message) {
		super("Unauthorized access attempted on service " + service + " with code " + code + ". " + message);
	}
}
